const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  devServer:{
    port: 8080,
    client: {
      overlay: false
    },
  },
  lintOnSave: false,
  publicPath:process.env.NODE_ENV==='production'?'./':'/',
  lintOnSave: false,
  transpileDependencies: true,
  chainWebpack: config => {
    config
    .plugin('html')
    .tap(args => {
        args[0].title = '一粒米乡村振兴生态公园农业大数据决策分析系统'
        return args
    })
  }
})